package com.ap.core.domain;

import org.hibernate.annotations.TypeDef;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * User: Rohit.Dixit
 */
@Entity
@Table(name = "T_ORDER_PAYMENT_STATUS")
@AttributeOverride(name = "id", column = @Column(name = "STATUS_CODE"))
@TypeDef(name = "id", typeClass = String.class)
public class OrderPaymentStatus extends Identifiable<String> {

    private static final long serialVersionUID = 8339070221409552886L;

    @Column(name = "STATUS_NAME")
    private String statusName;

    @Column(name = "STATUS_DESCRIPTION")
    private String statusDescription;


    private OrderPaymentStatus(){}

    public String getStatusName() {
        return statusName;
    }

    public String getStatusDescription() {
        return statusDescription;
    }


}
